package math;

public class VariableDefinition implements Statement
{
    String symbol;
    MathNode value;

    VariableDefinition(String s,MathNode v)
    {
        this.symbol = s;
        this.value = v;
    }

    @Override
    public String toDisplayString()
    {
        return symbol + " = " + value.getExpressionString();
    }
}
